package com.hxy.hrm;

import com.hxy.hrm.vo.UserContextInfo;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.PathVariable;

@FeignClient(value = "HRM-SYSMANAGE",fallbackFactory = SysmanageServerClientFallbackFactory.class)
public interface SysmanageServerClient {
    @GetMapping("/employee/empAndTenant/{loginId}")
    UserContextInfo getEmpAndTenantByLoginId(@PathVariable("loginId")Long loginId);
}
